package com.liukai.todo_android.entity.vo;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author ：liukai
 * @date ：Created in 2021/8/9 3:49 下午
 * @description：用户相关信息
 * @modified By：
 * @version: $
 */
public class UserVO {

    private Long id;

    private String username;

    private String email;

    private String password;

    private String avatar;

    private Long roleId;

    private Date gmtRegister;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Date getGmtRegister() {
        return gmtRegister;
    }

    public void setGmtRegister(Date gmtRegister) {
        this.gmtRegister = gmtRegister;
    }

    @Override
    public String toString() {
        return "UserVO{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", email='" + email + '\'' +
                ", password='" + password + '\'' +
                ", avatar='" + avatar + '\'' +
                ", roleId=" + roleId +
                ", gmtRegister=" + gmtRegister +
                '}';
    }
}
